home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 9169 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: newshost.lanl.gov!tanmoy
  2. From: tanmoy@qcd.lanl.gov (Tanmoy Bhattacharya)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: passing arguments to main()
  5. Date: 06 Mar 1996 14:36:58 GMT
  6. Organization: Los Alamos National Laboratory
  7. Message-ID: <TANMOY.96Mar6073658@qcd.lanl.gov>
  8. References: <4h78t1$nqq@netnews.upenn.edu> <4h7ql8$4rs@news.microsoft.com>
  9.     <4hiqms$kg2@mother.usf.edu>
  10. NNTP-Posting-Host: qcd.lanl.gov
  11. Mime-Version: 1.0
  12. Content-Type: text
  13. In-reply-to: "Thomas Sanidas's message of 6 Mar 1996 01:45:00 GMT
  14.  
  15. In article <4hiqms$kg2@mother.usf.edu>
  16. "Thomas Sanidas (BIO)" <sanidas> writes:
  17.  
  18. <snip>
  19. B: main(int argc, char* argv[])
  20. B: {
  21. B: /*C code here*/
  22. B: 
  23. B: return;
  24.  
  25. Please use `return 0;' instead if you mean that the program terminated
  26. successfully if it reaches this point.
  27.  
  28. B: }
  29.  
  30. Cheers
  31. Tanmoy
  32. --
  33. tanmoy@qcd.lanl.gov(128.165.23.46) DECNET: BETA::"tanmoy@lanl.gov"(1.218=1242)
  34. Tanmoy Bhattacharya O:T-8(MS B285)LANL,NM87545 H:#9,3000,Trinity Drive,NM87544
  35. Others see <gopher://yaleinfo.yale.edu:7700/00/Internet-People/internet-mail>,
  36. <http://alpha.acast.nova.edu/cgi-bin/inmgq.pl>or<ftp://csd4.csd.uwm.edu/pub/
  37. internetwork-mail-guide>. -- <http://nqcd.lanl.gov/people/tanmoy/tanmoy.html>
  38. fax: 1 (505) 665 3003   voice: 1 (505) 665 4733    [ Home: 1 (505) 662 5596 ]
  39.